import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./styles/index.scss"; // 引入全局css

import "lib-flexible/flexible"; // 适配大屏方案

import "./utils/rem"; // 引入等比适配文件
import { setupVant } from "./plugins/vant";

// 全局引入按需引入UI库 vant
const app = createApp(App);
setupVant(app);
app.use(router);
app.use(store);
router.isReady().then(() => {
	app.mount("#app");
});
